﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001243 RID: 4675
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class StartWolfBroGameCsReq : IMessage<StartWolfBroGameCsReq>, IMessage, IEquatable<StartWolfBroGameCsReq>, IDeepCloneable<StartWolfBroGameCsReq>, IBufferMessage
	{
		// Token: 0x17003B4D RID: 15181
		// (get) Token: 0x0600D1BD RID: 53693 RVA: 0x0023524B File Offset: 0x0023344B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<StartWolfBroGameCsReq> Parser
		{
			get
			{
				return StartWolfBroGameCsReq._parser;
			}
		}

		// Token: 0x17003B4E RID: 15182
		// (get) Token: 0x0600D1BE RID: 53694 RVA: 0x00235252 File Offset: 0x00233452
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return StartWolfBroGameCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003B4F RID: 15183
		// (get) Token: 0x0600D1BF RID: 53695 RVA: 0x00235264 File Offset: 0x00233464
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return StartWolfBroGameCsReq.Descriptor;
			}
		}

		// Token: 0x0600D1C0 RID: 53696 RVA: 0x0023526B File Offset: 0x0023346B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartWolfBroGameCsReq()
		{
		}

		// Token: 0x0600D1C1 RID: 53697 RVA: 0x00235274 File Offset: 0x00233474
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartWolfBroGameCsReq(StartWolfBroGameCsReq other) : this()
		{
			this.groupStateInfo_ = ((other.groupStateInfo_ != null) ? other.groupStateInfo_.Clone() : null);
			this.motion_ = ((other.motion_ != null) ? other.motion_.Clone() : null);
			this.id_ = other.id_;
			this.eMEGKOEPOOH_ = other.eMEGKOEPOOH_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D1C2 RID: 53698 RVA: 0x002352E8 File Offset: 0x002334E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartWolfBroGameCsReq Clone()
		{
			return new StartWolfBroGameCsReq(this);
		}

		// Token: 0x17003B50 RID: 15184
		// (get) Token: 0x0600D1C3 RID: 53699 RVA: 0x002352F0 File Offset: 0x002334F0
		// (set) Token: 0x0600D1C4 RID: 53700 RVA: 0x002352F8 File Offset: 0x002334F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GroupStateInfo GroupStateInfo
		{
			get
			{
				return this.groupStateInfo_;
			}
			set
			{
				this.groupStateInfo_ = value;
			}
		}

		// Token: 0x17003B51 RID: 15185
		// (get) Token: 0x0600D1C5 RID: 53701 RVA: 0x00235301 File Offset: 0x00233501
		// (set) Token: 0x0600D1C6 RID: 53702 RVA: 0x00235309 File Offset: 0x00233509
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MotionInfo Motion
		{
			get
			{
				return this.motion_;
			}
			set
			{
				this.motion_ = value;
			}
		}

		// Token: 0x17003B52 RID: 15186
		// (get) Token: 0x0600D1C7 RID: 53703 RVA: 0x00235312 File Offset: 0x00233512
		// (set) Token: 0x0600D1C8 RID: 53704 RVA: 0x0023531A File Offset: 0x0023351A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Id
		{
			get
			{
				return this.id_;
			}
			set
			{
				this.id_ = value;
			}
		}

		// Token: 0x17003B53 RID: 15187
		// (get) Token: 0x0600D1C9 RID: 53705 RVA: 0x00235323 File Offset: 0x00233523
		// (set) Token: 0x0600D1CA RID: 53706 RVA: 0x0023532B File Offset: 0x0023352B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool EMEGKOEPOOH
		{
			get
			{
				return this.eMEGKOEPOOH_;
			}
			set
			{
				this.eMEGKOEPOOH_ = value;
			}
		}

		// Token: 0x0600D1CB RID: 53707 RVA: 0x00235334 File Offset: 0x00233534
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as StartWolfBroGameCsReq);
		}

		// Token: 0x0600D1CC RID: 53708 RVA: 0x00235344 File Offset: 0x00233544
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(StartWolfBroGameCsReq other)
		{
			return other != null && (other == this || (object.Equals(this.GroupStateInfo, other.GroupStateInfo) && object.Equals(this.Motion, other.Motion) && this.Id == other.Id && this.EMEGKOEPOOH == other.EMEGKOEPOOH && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D1CD RID: 53709 RVA: 0x002353B8 File Offset: 0x002335B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.groupStateInfo_ != null)
			{
				num ^= this.GroupStateInfo.GetHashCode();
			}
			if (this.motion_ != null)
			{
				num ^= this.Motion.GetHashCode();
			}
			if (this.Id != 0U)
			{
				num ^= this.Id.GetHashCode();
			}
			if (this.EMEGKOEPOOH)
			{
				num ^= this.EMEGKOEPOOH.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D1CE RID: 53710 RVA: 0x0023543C File Offset: 0x0023363C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D1CF RID: 53711 RVA: 0x00235444 File Offset: 0x00233644
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D1D0 RID: 53712 RVA: 0x00235450 File Offset: 0x00233650
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.motion_ != null)
			{
				output.WriteRawTag(34);
				output.WriteMessage(this.Motion);
			}
			if (this.EMEGKOEPOOH)
			{
				output.WriteRawTag(64);
				output.WriteBool(this.EMEGKOEPOOH);
			}
			if (this.groupStateInfo_ != null)
			{
				output.WriteRawTag(90);
				output.WriteMessage(this.GroupStateInfo);
			}
			if (this.Id != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.Id);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D1D1 RID: 53713 RVA: 0x002354E4 File Offset: 0x002336E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.groupStateInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.GroupStateInfo);
			}
			if (this.motion_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Motion);
			}
			if (this.Id != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Id);
			}
			if (this.EMEGKOEPOOH)
			{
				num += 2;
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D1D2 RID: 53714 RVA: 0x00235560 File Offset: 0x00233760
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(StartWolfBroGameCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.groupStateInfo_ != null)
			{
				if (this.groupStateInfo_ == null)
				{
					this.GroupStateInfo = new GroupStateInfo();
				}
				this.GroupStateInfo.MergeFrom(other.GroupStateInfo);
			}
			if (other.motion_ != null)
			{
				if (this.motion_ == null)
				{
					this.Motion = new MotionInfo();
				}
				this.Motion.MergeFrom(other.Motion);
			}
			if (other.Id != 0U)
			{
				this.Id = other.Id;
			}
			if (other.EMEGKOEPOOH)
			{
				this.EMEGKOEPOOH = other.EMEGKOEPOOH;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D1D3 RID: 53715 RVA: 0x00235608 File Offset: 0x00233808
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D1D4 RID: 53716 RVA: 0x00235614 File Offset: 0x00233814
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 64U)
				{
					if (num == 34U)
					{
						if (this.motion_ == null)
						{
							this.Motion = new MotionInfo();
						}
						input.ReadMessage(this.Motion);
						continue;
					}
					if (num == 64U)
					{
						this.EMEGKOEPOOH = input.ReadBool();
						continue;
					}
				}
				else
				{
					if (num == 90U)
					{
						if (this.groupStateInfo_ == null)
						{
							this.GroupStateInfo = new GroupStateInfo();
						}
						input.ReadMessage(this.GroupStateInfo);
						continue;
					}
					if (num == 104U)
					{
						this.Id = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x0400540F RID: 21519
		private static readonly MessageParser<StartWolfBroGameCsReq> _parser = new MessageParser<StartWolfBroGameCsReq>(() => new StartWolfBroGameCsReq());

		// Token: 0x04005410 RID: 21520
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005411 RID: 21521
		public const int GroupStateInfoFieldNumber = 11;

		// Token: 0x04005412 RID: 21522
		private GroupStateInfo groupStateInfo_;

		// Token: 0x04005413 RID: 21523
		public const int MotionFieldNumber = 4;

		// Token: 0x04005414 RID: 21524
		private MotionInfo motion_;

		// Token: 0x04005415 RID: 21525
		public const int IdFieldNumber = 13;

		// Token: 0x04005416 RID: 21526
		private uint id_;

		// Token: 0x04005417 RID: 21527
		public const int EMEGKOEPOOHFieldNumber = 8;

		// Token: 0x04005418 RID: 21528
		private bool eMEGKOEPOOH_;
	}
}
